import jdk.swing.interop.SwingInterOpUtils;

import java.util.Scanner;

public class Main {
    public static double Max(double x,double y){
        if(x > y){
            return x;
        }else{
            return y;
        }
    }

    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        double a = num.nextDouble();
        double b = num.nextDouble();
        double ret = Max(a,b);
        double squareRoot = Math.sqrt(ret);
        System.out.println(squareRoot);
    }
}
